home *** CD-ROM | disk | FTP | other *** search
- Path: esdhof.esd.ornl.gov!forrest
- From: forrest@esdhof.esd.ornl.gov (Forrest M. Hoffman)
- Newsgroups: comp.lang.c,comp.os.msdos.programmer,comp.sys.ibm.pc.hardware.video,comp.sys.ibm.pc.hardware.misc,comp.sys.ibm.pc.misc
- Subject: malloc'ing 1.5MB of memory
- Date: 9 Jan 1996 21:16:46 GMT
- Organization: ORNL Environmental Sciences Division
- Distribution: world
- Message-ID: <4culvu$612@stc06.ctd.ornl.gov>
- Reply-To: forrest@esd.ornl.gov
- NNTP-Posting-Host: esdhof.esd.ornl.gov
- Keywords: memory msdos
-
- Can anyone tell me how to grab a 1.5 MB chunk of PC memory? I've got a
- VideoBlaster card and some C code they gave me. But I want to use the
- full screen (800x600) at 24 bit color. This means I have to have this
- much space to have the routine dump the data into. The machine I'm
- using is a 486 with 16MB of memory. This must be a DOS limitation?
-
- I'm using MS C 6.0 and calling halloc();
-
- Any suggestions?
- -----------------------------------------------------------------------------
- Forrest Hoffman forrest@esd.ornl.gov
- Environmental Sciences Division http://www.esd.ornl.gov/~forrest
- Oak Ridge National Laboratory (423) 576-7680
- MS 6036, Building 1505, Room 216 (423) 576-8543 fax
- P.O. Box 2008 36 1' 35" N 84 11' 55" W
- Oak Ridge TN 37831-6036
- -----------------------------------------------------------------------------
-